package com.ruoyi.info.service;

import com.ruoyi.info.domain.FhInfoCatchrecord;

import java.util.List;

/**
 * 渔获记录Service接口
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public interface IFhInfoCatchrecordService 
{
    /**
     * 查询渔获记录
     * 
     * @param id 渔获记录主键
     * @return 渔获记录
     */
    public FhInfoCatchrecord selectFhInfoCatchrecordById(Long id);

    /**
     * 查询渔获记录列表
     * 
     * @param fhInfoCatchrecord 渔获记录
     * @return 渔获记录集合
     */
    public List<FhInfoCatchrecord> selectFhInfoCatchrecordList(FhInfoCatchrecord fhInfoCatchrecord);

    /**
     * 新增渔获记录
     * 
     * @param fhInfoCatchrecord 渔获记录
     * @return 结果
     */
    public int insertFhInfoCatchrecord(FhInfoCatchrecord fhInfoCatchrecord);

    /**
     * 修改渔获记录
     * 
     * @param fhInfoCatchrecord 渔获记录
     * @return 结果
     */
    public int updateFhInfoCatchrecord(FhInfoCatchrecord fhInfoCatchrecord);

    /**
     * 批量删除渔获记录
     * 
     * @param ids 需要删除的渔获记录主键集合
     * @return 结果
     */
    public int deleteFhInfoCatchrecordByIds(Long[] ids);

    /**
     * 删除渔获记录信息
     * 
     * @param id 渔获记录主键
     * @return 结果
     */
    public int deleteFhInfoCatchrecordById(Long id);

    FhInfoCatchrecord selectFhInfoCatchrecordByUserId(Long userId);
}
